/**
 * @description 获取HRV 情绪接口
 */
import {request} from "@/utils/request";

export function findHrvListApi(data?: any) {
  return request(
    {
      url: '/interface/device/sleep/data/findHrvList',
      method: 'post',
      data,
    },
    {},
  );
}

/**
 * @description 获取睡眠数据
 */
export function listSleepResultApi(data?: any) {
  return request(
    {
      url: '/interface/device/sleep/result/listSleepResult',
      method: 'post',
      data,
    },
    {},
  );
}

/**
 * @description 获取长时报告
 */
export function findHrvBySleepResultIdApi(data?: any) {
  return request(
    {
      url: '/interface/device/sleep/data/findHrvBySleepResultId',
      method: 'post',
      data,
    },
    {},
  );
}
